This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: s.documentcontex on the web ~Justin Minluternivu 6.Nov.03 06:24 PM a Web browser Domino Designer 6.0.1Windows NT
It means my guess was probably correct, that the agent thinks it was served to reply to a GET request. That means that you've got nothing but the request header and the URL to work with -- the form the button was on, and the fields that were on that form, are not available to you at all. If you need the values that were on the form, then you'll need to make the agent a WebQuerySave agent, or POST the form directly to the agent. This JavaScript should do the submit:
function switchAndSubmit() {
document.forms[0].action = '<url to agent goes here>';
document.forms[0].submit();
}
Make your button run the switchAndSubmit() function instead of the Formula Language, and you're all set.